-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: speed up writing model fields #393
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦄
I couldn't stand not fixing the last part. It's now much faster, takes about 12 sec. I don't see room for more improvement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just take a look at the yamlFile things. I take it that you tested that it became faster?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it looks better!
…lSpeed # Conflicts: # code/io/importYaml.m
@haowang-bioinfo In f2d5352 I incorporated similar changes as you introduced in #392 (but not exactly the same as it wouldn't match the refactoring that I did). Can you please check that it matches the behaviour that you need? |
will look into this |
Main improvements in this PR:
importYaml
speed improvement, contributing to importYaml is slow #387On my PC,
importYaml('../../model/Human-GEM.yml');
tooks 248 seconds before the change and 12 seconds after the change.I hereby confirm that I have:
develop
as a target branch